<html>

	<head>
		<meta charset="utf-8">
		<title>个人信息</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="css/mui.min.css">
		<link rel="stylesheet" href="css/common.css" />	
		<link rel="stylesheet" href="css/common_article.css" />
		<style>
			html,
			body {
				background-color: #efeff4;
			}
			
			.mui-scroll-wrapper,
			.mui-scroll {
				background-color: #efeff4;
				top: 45px;
			}
			.mui-page.mui-transitioning {
				-webkit-transition: -webkit-transform 300ms ease;
				transition: transform 300ms ease;
			}
			.mui-page-left {
				-webkit-transform: translate3d(0, 0, 0);
				transform: translate3d(0, 0, 0);
			}
			.mui-ios .mui-page-left {
				-webkit-transform: translate3d(-20%, 0, 0);
				transform: translate3d(-20%, 0, 0);
			}
			.mui-navbar {
				position: fixed;
				right: 0;
				left: 0;
				height: 44px;
				background-color: #f7f7f8;
			}
			.mui-android .mui-navbar-inner.mui-navbar-left {
				opacity: 0;
			}
			.mui-ios .mui-navbar-left .mui-left,
			.mui-ios .mui-navbar-left .mui-center,
			.mui-ios .mui-navbar-left .mui-right {
				opacity: 0;
			}
			.mui-navbar .mui-btn-nav {
				-webkit-transition: none;
				transition: none;
				-webkit-transition-duration: .0s;
				transition-duration: .0s;
			}
			.mui-page-shadow {
				background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
				background: linear-gradient(to right, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, .01) 50%, rgba(0, 0, 0, .2) 100%);
			}
			.mui-navbar-inner.mui-transitioning,
			.mui-navbar-inner .mui-transitioning {
				-webkit-transition: opacity 300ms ease, -webkit-transform 300ms ease;
				transition: opacity 300ms ease, transform 300ms ease;
			}
			.head {
				height: 40px;
			}
			#head {
				line-height: 40px;
			}
			.head-img {
				width: 40px;
				height: 40px;
			}
			.update {
				font-style: normal;
				color: #999999;
				margin-right: -25px;
				font-size: 15px
			}
			.mui-bar{
				background-color: rgba(0,153,204,.9);
			}
			.mui-icon{
				color: #FFFFFF;
			}
		</style>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title" style="color: #FFFFFF;">个人信息</h1>
		</header>
		<div class="mui-content">
			<div class="mui-scroll-wrapper" >
				<ul class="mui-table-view">
					<li class="mui-table-view-cell">
						<a id="head" class="">头像
							<span class="mui-pull-right head">
								<img class="head-img mui-action-preview" id="head-img1" src="images/user-photo.png"/>
							</span>
						</a>
					</li>
					<li class="mui-table-view-cell">
						<a>姓名<span class="mui-pull-right" id="username"></span></a>
					</li>
					<li class="mui-table-view-cell">
						<a>账号<span class="mui-pull-right" id="loginname"></span></a>
					</li>
				</ul>
				<ul class="mui-table-view">
					<li class="mui-table-view-cell">
						<a>手机号<span class="mui-pull-right" id="usermible"></span></a>
					</li>
					<li class="mui-table-view-cell">
						<a>邮箱地址<span class="mui-pull-right" id="usermail"></span></a>
					</li>
				</ul>
			</div>
		</div>
	</body>
	<script src="js/mui.min.js"></script>
	<script type="text/javascript" src="js/md5.js" ></script>
	<script type="text/javascript" src="js/uuid.js" ></script>
	<script type="text/javascript" src="js/utils.js" ></script>
		
	<script>
		var ownerId = '' ,clientid = 0;
	
		mui.init();
		 //初始化单页view
		 //初始化单页的区域滚动
		mui('.mui-scroll-wrapper').scroll();
		 //分享操作
		mui.plusReady(function() {
			
			defaultInfo();
			var clientInfo = plus.push.getClientInfo();
			clientid = clientInfo.clientid || '';
			if(!clientid || clientid == 'null'){
				clientInfo = xhz.getClientInfo() ;
				clientid = clientInfo.clientid || '' ;
			}
//			setTimeout(function() {
//				initImgPreview();
//			}, 500);
		});

		function defaultInfo() {
			var userInfo = xhz.getUser() ;
			console.debug("setting userinfo " + JSON.stringify(userInfo)) ;
			ownerId = userInfo.id ;
			document.getElementById("username").innerHTML = userInfo.username ;
			document.getElementById("loginname").innerHTML = userInfo.loginname ;
			document.getElementById("usermail").innerHTML = userInfo.mail ;
			document.getElementById("usermible").innerHTML = userInfo.mobile ;
			
		}
		
	</script>

</html>